//
//  segmentedControlView.h
//  ChinaA
//
//  Created by Mxionlly on 2018/11/2.
//  Copyright © 2018 Evan. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


@protocol segmentedControlViewDelegate <NSObject>

@optional;
-(void)changesegmentedIndex:(NSInteger)index;

@end

@interface segmentedControlView : UIView
@property(nonatomic,strong) UISegmentedControl* segmCheck;
@property(nonatomic,strong) UIImageView* segmCheckIMG;


@property (nonatomic,weak)id <segmentedControlViewDelegate> delegate;

/**
 *  tabItems，每个item为string
 */
@property (nonatomic, strong) IBInspectable NSArray* items;

@end

NS_ASSUME_NONNULL_END
